Optimal. Leaf size=168 \[ \frac{3}{2} \sqrt{\frac{\pi }{2}} \sqrt{b} \cos (a) \text{FresnelC}\left (\sqrt{\frac{2}{\pi }} \sqrt{b} x\right )-\frac{1}{2} \sqrt{\frac{3 \pi }{2}} \sqrt{b} \cos (3 a) \text{FresnelC}\left (\sqrt{\frac{6}{\pi }} \sqrt{b} x\right )-\frac{3}{2} \sqrt{\frac{\pi }{2}} \sqrt{b} \sin (a) S\left (\sqrt{b} \sqrt{\frac{2}{\pi }} x\right )+\frac{1}{2} \sqrt{\frac{3 \pi }{2}} \sqrt{b} \sin (3 a) S\left (\sqrt{b} \sqrt{\frac{6}{\pi }} x\right )-\frac{\sin ^3\left (a+b x^2\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.145827, antiderivative size = 168, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 5, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.357, Rules used = {3393, 4574, 3354, 3352, 3351} \[ \frac{3}{2} \sqrt{\frac{\pi }{2}} \sqrt{b} \cos (a) \text{FresnelC}\left (\sqrt{\frac{2}{\pi }} \sqrt{b} x\right )-\frac{1}{2} \sqrt{\frac{3 \pi }{2}} \sqrt{b} \cos (3 a) \text{FresnelC}\left (\sqrt{\frac{6}{\pi }} \sqrt{b} x\right )-\frac{3}{2} \sqrt{\frac{\pi }{2}} \sqrt{b} \sin (a) S\left (\sqrt{b} \sqrt{\frac{2}{\pi }} x\right )+\frac{1}{2} \sqrt{\frac{3 \pi }{2}} \sqrt{b} \sin (3 a) S\left (\sqrt{b} \sqrt{\frac{6}{\pi }} x\right )-\frac{\sin ^3\left (a+b x^2\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3393
Rule 4574
Rule 3354
Rule 3352
Rule 3351
Rubi steps
\begin{align*} \int \frac{\sin ^3\left (a+b x^2\right )}{x^2} \, dx &=-\frac{\sin ^3\left (a+b x^2\right )}{x}+(6 b) \int \cos \left (a+b x^2\right ) \sin ^2\left (a+b x^2\right ) \, dx\\ &=-\frac{\sin ^3\left (a+b x^2\right )}{x}+(6 b) \int \left (\frac{1}{4} \cos \left (a+b x^2\right )-\frac{1}{4} \cos \left (3 a+3 b x^2\right )\right ) \, dx\\ &=-\frac{\sin ^3\left (a+b x^2\right )}{x}+\frac{1}{2} (3 b) \int \cos \left (a+b x^2\right ) \, dx-\frac{1}{2} (3 b) \int \cos \left (3 a+3 b x^2\right ) \, dx\\ &=-\frac{\sin ^3\left (a+b x^2\right )}{x}+\frac{1}{2} (3 b \cos (a)) \int \cos \left (b x^2\right ) \, dx-\frac{1}{2} (3 b \cos (3 a)) \int \cos \left (3 b x^2\right ) \, dx-\frac{1}{2} (3 b \sin (a)) \int \sin \left (b x^2\right ) \, dx+\frac{1}{2} (3 b \sin (3 a)) \int \sin \left (3 b x^2\right ) \, dx\\ &=\frac{3}{2} \sqrt{b} \sqrt{\frac{\pi }{2}} \cos (a) C\left (\sqrt{b} \sqrt{\frac{2}{\pi }} x\right )-\frac{1}{2} \sqrt{b} \sqrt{\frac{3 \pi }{2}} \cos (3 a) C\left (\sqrt{b} \sqrt{\frac{6}{\pi }} x\right )-\frac{3}{2} \sqrt{b} \sqrt{\frac{\pi }{2}} S\left (\sqrt{b} \sqrt{\frac{2}{\pi }} x\right ) \sin (a)+\frac{1}{2} \sqrt{b} \sqrt{\frac{3 \pi }{2}} S\left (\sqrt{b} \sqrt{\frac{6}{\pi }} x\right ) \sin (3 a)-\frac{\sin ^3\left (a+b x^2\right )}{x}\\ \end{align*}
Mathematica [A] time = 0.433062, size = 167, normalized size = 0.99 \[ \frac{3 \sqrt{2 \pi } \sqrt{b} x \cos (a) \text{FresnelC}\left (\sqrt{\frac{2}{\pi }} \sqrt{b} x\right )-\sqrt{6 \pi } \sqrt{b} x \cos (3 a) \text{FresnelC}\left (\sqrt{\frac{6}{\pi }} \sqrt{b} x\right )-3 \sqrt{2 \pi } \sqrt{b} x \sin (a) S\left (\sqrt{b} \sqrt{\frac{2}{\pi }} x\right )+\sqrt{6 \pi } \sqrt{b} x \sin (3 a) S\left (\sqrt{b} \sqrt{\frac{6}{\pi }} x\right )-3 \sin \left (a+b x^2\right )+\sin \left (3 \left (a+b x^2\right )\right )}{4 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 130, normalized size = 0.8 \begin{align*} -{\frac{3\,\sin \left ( b{x}^{2}+a \right ) }{4\,x}}+{\frac{3\,\sqrt{2}\sqrt{\pi }}{4}\sqrt{b} \left ( \cos \left ( a \right ){\it FresnelC} \left ({\frac{x\sqrt{2}}{\sqrt{\pi }}\sqrt{b}} \right ) -\sin \left ( a \right ){\it FresnelS} \left ({\frac{x\sqrt{2}}{\sqrt{\pi }}\sqrt{b}} \right ) \right ) }+{\frac{\sin \left ( 3\,b{x}^{2}+3\,a \right ) }{4\,x}}-{\frac{\sqrt{2}\sqrt{\pi }\sqrt{3}}{4}\sqrt{b} \left ( \cos \left ( 3\,a \right ){\it FresnelC} \left ({\frac{\sqrt{2}\sqrt{3}x}{\sqrt{\pi }}\sqrt{b}} \right ) -\sin \left ( 3\,a \right ){\it FresnelS} \left ({\frac{\sqrt{2}\sqrt{3}x}{\sqrt{\pi }}\sqrt{b}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.2606, size = 725, normalized size = 4.32 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.48165, size = 440, normalized size = 2.62 \begin{align*} -\frac{\sqrt{6} \pi x \sqrt{\frac{b}{\pi }} \cos \left (3 \, a\right ) \operatorname{C}\left (\sqrt{6} x \sqrt{\frac{b}{\pi }}\right ) - 3 \, \sqrt{2} \pi x \sqrt{\frac{b}{\pi }} \cos \left (a\right ) \operatorname{C}\left (\sqrt{2} x \sqrt{\frac{b}{\pi }}\right ) - \sqrt{6} \pi x \sqrt{\frac{b}{\pi }} \operatorname{S}\left (\sqrt{6} x \sqrt{\frac{b}{\pi }}\right ) \sin \left (3 \, a\right ) + 3 \, \sqrt{2} \pi x \sqrt{\frac{b}{\pi }} \operatorname{S}\left (\sqrt{2} x \sqrt{\frac{b}{\pi }}\right ) \sin \left (a\right ) - 4 \,{\left (\cos \left (b x^{2} + a\right )^{2} - 1\right )} \sin \left (b x^{2} + a\right )}{4 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin ^{3}{\left (a + b x^{2} \right )}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin \left (b x^{2} + a\right )^{3}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]